home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3lsp.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_LIGHTPOINT_H = 1;
- include("real/objects/r3lights.js")
-
-
- var R3CLID_LIGHTPOINT = 501;
-
-
-
-
-
-
-
- R3LSPA_Center = 501500;
- function SetR3LSPA_Center(value) {
- R3Set(this.r3obj, R3LSPA_Center, value, R3TID_VECTOR, 0);
- }
-
- function GetR3LSPA_Center() {
- return R3Get(this.r3obj, R3LSPA_Center, R3TID_VECTOR, 0);
- }
-
- R3LSPA_Ray = 501501;
- function SetR3LSPA_Ray(value) {
- R3Set(this.r3obj, R3LSPA_Ray, value, R3TID_VECTOR, 0);
- }
-
- function GetR3LSPA_Ray() {
- return R3Get(this.r3obj, R3LSPA_Ray, R3TID_VECTOR, 0);
- }
-
- R3LSPA_Type = 501502;
- function SetR3LSPA_Type(value) {
- R3Set(this.r3obj, R3LSPA_Type, value, R3TID_INTEGER, 0);
- }
-
- function GetR3LSPA_Type() {
- return R3Get(this.r3obj, R3LSPA_Type, R3TID_INTEGER, 0);
- }
-
- R3LSPA_Size = 501503;
- function SetR3LSPA_Size(value) {
- R3Set(this.r3obj, R3LSPA_Size, value, R3TID_FLOAT, 0);
- }
-
- function GetR3LSPA_Size() {
- return R3Get(this.r3obj, R3LSPA_Size, R3TID_FLOAT, 0);
- }
-
- R3LSPA_Quality = 501504;
- function SetR3LSPA_Quality(value) {
- R3Set(this.r3obj, R3LSPA_Quality, value, R3TID_INTEGER, 0);
- }
-
- function GetR3LSPA_Quality() {
- return R3Get(this.r3obj, R3LSPA_Quality, R3TID_INTEGER, 0);
- }
-
- var R3LSPTYPE_RADIAL = 0;
- var R3LSPTYPE_AMBIENT = 1;
- var R3LSPTYPE_DIFFUSEAMBIENT = 2;
-
-
- function r3Lightpoint () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_LIGHTPOINT, arguments);
- }
- // Methods
-
- // Attributes
- this.GetCenter=GetR3LSPA_Center;
- this.SetCenter=SetR3LSPA_Center;
- this.GetRay=GetR3LSPA_Ray;
- this.SetRay=SetR3LSPA_Ray;
- this.GetType=GetR3LSPA_Type;
- this.SetType=SetR3LSPA_Type;
- this.GetSize=GetR3LSPA_Size;
- this.SetSize=SetR3LSPA_Size;
- this.GetQuality=GetR3LSPA_Quality;
- this.SetQuality=SetR3LSPA_Quality;
- }
-
- r3Lightpoint.prototype=new r3Lightsource;
- // r3lsp.h_H